package com.designpattern.factory.abstract1.ag3;

public class Y1Impl implements IY {
    @Override
    public IX1 getX1() {
        return new Y1AndX1Impl();
    }

    @Override
    public IX2 getX2() {
        return new Y1AndX2Impl();
    }
}
